//
//  YKURLResponseSubstitution.m
//  YKKit
//
//  Created by 马洪伟 on 16/1/19.
//  Copyright © 2016年 悦康动力（北京）科技有限公司. All rights reserved.
//

#import "YKURLResponseSubstitution.h"

@implementation YKURLResponseSubstitution
- (void)setUrl:(NSString *)url {
    NSString *tempUrl = url;
    if ([tempUrl hasSuffix:@"/"]) {
        tempUrl = [tempUrl substringToIndex:tempUrl.length-1];
    }
    _url = tempUrl;
}
@end
